﻿using HDS.Model;
using HDS.Model.Entity.Sys;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace HDS.IService.Sys
{
    public interface ISysRoleService
    {
        Task<SysRole> Get(int roleId);

        Task Save(SysRole sysRole);

        Task Delete(int roleId);

        Task<List<SysRole>> GetList();

        Task<List<SysFun>> GetFuns(int roleId);

        Task SetFuns(int roleId, int[] funIds);
    }
}
